package com.hnbtr.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hnbtr.param.ClassParam;
import com.hnbtr.pojo.Class;
import com.hnbtr.pojo.Student;
import com.hnbtr.pojo.Teacher;

public interface ClassDao {
	void addClass(Class cls);
	void updateClass(Class cls);
	List<Class> findClassByInfo(@Param("cp") ClassParam class_param);
	List<Class> findClassByTeacherInfo(Teacher teacher);
	List<Class> findClassByStudentInfo(Student student);
	List<Class> findClassByCondition(@Param("cp") ClassParam class_param);
}
